package 泛型.泛型的基本使用;

/**
 * @program: algorithm
 * @description:
 * @author: 陈恩涛
 * @create: 2021-12-19 22:59
 **/
public class TestGen {

    public static <T> T[] func1(T... arg) {
        return arg;
    }

    public static void main(String[] args) {
        Integer[] integers = func1(1, 2, 3, 4, 5);

    }
}
